SCRIPTPATH=`dirname $0`

echo "CRVClient started..."
echo "SCRIPTPATH=$SCRIPTPATH"

sh $SCRIPTPATH/setuphostname.sh

python $SCRIPTPATH/setStarted.py $SCRIPTPATH/values.pickle

echo "setting up puppet..."
sh $SCRIPTPATH/setuppuppet.sh

#In here will 1st setStarted, then wait for ProfileProvided, then start puppet, then hand over to puppet forever

python $SCRIPTPATH/startupPuppet.py $SCRIPTPATH/values.pickle



